package cn.memorynine.consumer;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author:黄睿曦
 */
@Slf4j
@ComponentScan(basePackages = {"cn.memorynine.dao.*","cn.memorynine.common.*", "cn.memorynine.consumer.*"})
@MapperScan(basePackages = {"cn.memorynine.dao.mapper","cn.memorynine.consumer.mapper"})
@SpringBootApplication
public class ConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
